package com.supergzt.exception;



import com.supergzt.enums.HttpEnum;

import java.io.Serial;

/**
 * @author 张钧
 * @Description
 * @create 2022-09-24 15:13
 */
public class NoLoginException extends RuntimeException {
	@Serial
	private static final long serialVersionUID = 1L;

	private final HttpEnum httpEnum;

	public NoLoginException(HttpEnum httpEnum, String message) {
		super(message);
		this.httpEnum = httpEnum;
	}

	public HttpEnum getHttpEnum() {
		return httpEnum;
	}
}
